package org.mzy.system.mapper;

import org.apache.ibatis.annotations.Param;
import org.mzy.system.domain.Menu;
import org.mzy.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mzy
 * @since 2022-10-24
 */
public interface MenuMapper extends BaseMapper<Menu> {
    void addMiddle(@Param("rid") Long id, @Param("menus") List<Long> menus);

    void deleteMiddle(Long id);

    List<Menu> findByLogininfoId(Long id);
}
